package com.yuyou.tas.util.config;

import java.util.List;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import java.util.stream.Stream;

import com.yuyou.tas.util.enums.admin.AuthRoleEnums.roleType;


public class SystemConfig {
	

	//同步业务平台的机构
	public static List<String> zyOrganList=Stream.of("0002","0003","0004","0008","0009").collect(Collectors.toList());;
	
	//初始化系统机构默认角色类型
	public static List<Integer> initSysRoleType=Stream.of(
			roleType.system.getValue(),
			roleType.organ.getValue(),
			roleType.per.getValue()).collect(Collectors.toList());
	
	
	//初始化自定义机构默认角色类型
	public static List<Integer> initOrganRoleType=Stream.of(
			roleType.teacher.getValue(),
			roleType.teaching.getValue(),
			roleType.registrar.getValue(),
			roleType.headmaster.getValue(),
			roleType.other.getValue()).collect(Collectors.toList());
	
	//系统机构主键
	public static final Long SYS_ORGAN_ID=Long.valueOf(1);
	
	//新建用户默认密码
	public static final String INIT_PASSWORD="666666";
	
	//登陆缓存时间
	public final static  int REDIS_EXPIRE_TIME=120;
	
	//登陆缓存时间
	public final static  TimeUnit REDIS_EXPIRE_TIME_UNIT=TimeUnit.MINUTES;
	
	//登陆验证码出现次数
	public final static int COMM_CAPTCHA_VER_CIDE_VER_TIME=3;
	
}
